//
//  TheMessageViewController.m
//  WE
//
//  Created by 要帅气的生活 on 15/11/18.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "TheMessageViewController.h"


#import "SectionsViewController.h"
#import "Size.h"
#import "ToolUtil.h"
#import <Masonry.h>
@interface TheMessageViewController ()

@end

@implementation TheMessageViewController
//- (void)viewWillAppear:(BOOL)animated
//{
//    self.tabBarController.tabBar.hidden = NO;
//}

- (void)viewWillAppear:(BOOL)animated{
    self.navigationController.navigationBar.hidden = YES;
    UIView *searchView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, WindowWidth, 63)];
    searchView.backgroundColor = [UIColor colorWithRed:229/255. green:229/255. blue:229/255. alpha:1.0];
    [self.view addSubview:searchView];
    [ToolUtil createLine:63 superView:self.view lift:0 width:WindowWidth hight:1 color:[UIColor grayColor]];
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 20, WindowWidth, 43)];
    label.text = @"消息";
   // label.font = [UIFont boldSystemFontOfSize:17.0f];
    label.textAlignment = NSTextAlignmentCenter;
    label.textColor = [UIColor blackColor];
    [searchView addSubview:label];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = GRAYCOLOR;
    UILabel * lbl = [UILabel new];
    [self.view addSubview:lbl];
    //    lbl.backgroundColor = DEBUG_CLOLR;
    lbl.text = @"暂无新的消息";
    lbl.font = FONT(14);
    lbl.textColor = [UIColor grayColor];
    //    lbl.textAlignment = NSTextAlignmentCenter;
    [lbl mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.top.equalTo(self.view).with.offset(120);
        make.centerX.equalTo(self.view);
        make.height.offset(20);
    }];

}
- (void)pressButton{
    
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
